package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医院信息对象 t_hospital
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
public class THospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院编号 */
    private Long hid;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String hospitalAddress;

    /** 医院电话 */
    @Excel(name = "医院电话")
    private String hospitalPhone;

    public void setHid(Long hid) 
    {
        this.hid = hid;
    }

    public Long getHid() 
    {
        return hid;
    }
    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }
    public void setHospitalAddress(String hospitalAddress) 
    {
        this.hospitalAddress = hospitalAddress;
    }

    public String getHospitalAddress() 
    {
        return hospitalAddress;
    }
    public void setHospitalPhone(String hospitalPhone) 
    {
        this.hospitalPhone = hospitalPhone;
    }

    public String getHospitalPhone() 
    {
        return hospitalPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hid", getHid())
            .append("hospitalName", getHospitalName())
            .append("hospitalAddress", getHospitalAddress())
            .append("hospitalPhone", getHospitalPhone())
            .toString();
    }
}
